﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonalInformation.aspx.cs"
    Inherits="NJL.Web.AdminVisitor.PersonalInformation" %>

<%@ Register Src="~/Controls/WUCUservisitorLeft.ascx" TagName="WUCUservisitorLeft"
    TagPrefix="uc3" %>
<%@ Register Src="../Controls/UCenterHeader.ascx" TagName="UCenterHeader" TagPrefix="uc4" %>
<%@ Register Src="../Controls/UcenterFooter.ascx" TagName="UcenterFooter" TagPrefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>基本资料</title>
    <link href="../Styles/base1.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <link href="../Styles/manage.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        function infotab(baseinfo, visitorinfo) {
            document.getElementById("baseinfo").style.display = "none";
            document.getElementById("visitorinfo").style.display = "none";
            document.getElementById("head").style.display = "none";
            document.getElementById(baseinfo).style.display = "block";
            document.getElementById("baseinfocss").className = "";
            document.getElementById("visitorinfocss").className = "";
            document.getElementById("headcss").className = "";
            document.getElementById(visitorinfo).className = "now";
        }
    </script>
</head>
<body class="managebg">
    <form id="form1" runat="server">
    <asp:Label ID="RefreshID" runat="server" Visible="false"></asp:Label>
    <uc4:UCenterHeader ID="UCenterHeader1" runat="server" />
    <!--主要内容-->
    <div class="managecont02 cleanFlex">
        <!--右侧内容-->
        <div class="f_right manageRight" id="right">
            <!--位置-->
            <div class="place">
                <span>欢迎您：<%=UserName %>&nbsp;&nbsp;[<a href="/Logout.aspx" class="green">退出登陆</a>]</span>
                <p>
                    您现在的位置是&nbsp;<strong><a href="Default.aspx">用户中心</a></strong>&gt;&gt;<strong>基本资料</strong></p>
            </div>
            <!--基本信息内容-->
            <div class="cleanFlex m_top_10">
            </div>
            <div>
                <!--标题-->
                <div class="">
                    <ul class="titleTabmanage">
                        <li id="baseinfocss" class="now">
                            <p>
                                <a href="javascript:infotab('baseinfo','baseinfocss')">基本资料</a></p>
                        </li>
                        <li id="visitorinfocss">
                            <p>
                                <a href="javascript:infotab('visitorinfo','visitorinfocss')">游客资料</a></p>
                        </li>
                        <li id="headcss">
                            <p>
                                <a href="javascript:infotab('head','headcss')">个人头像</a></p>
                        </li>
                    </ul>
                </div>
                <div id="baseinfo" class="cont">
                    <table cellpadding="0" cellspacing="0" class="tab" width="100%">
                        <tr>
                            <td class="left" width="80">
                                昵称:
                            </td>
                            <td colspan="2">
                                <asp:TextBox ID="txtUserName" runat="server" Width="175px" CssClass="input" 
                                    MaxLength="15"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                手机:
                            </td>
                            <td>
                                <asp:TextBox ID="txtMobel" runat="server" MaxLength="11" Width="175px" CssClass="input"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                电话:
                            </td>
                            <td>
                                <asp:TextBox ID="txtTel" runat="server" Width="175px" MaxLength="18" CssClass="input"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                QQ:
                            </td>
                            <td>
                                <asp:TextBox ID="txtQQ" runat="server" Width="175px" MaxLength="10" CssClass="input"
                                    ></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                MSN:
                            </td>
                            <td>
                                <asp:TextBox ID="txtMSN" runat="server" Width="175px" MaxLength="30" CssClass="input"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                邮箱:
                            </td>
                            <td>
                                <asp:TextBox ID="txtEmail" runat="server" Width="175px" MaxLength="30" CssClass="input"
                                    Enabled="False"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" class="bottom">
                                <asp:Button ID="btnSumbit" runat="server" Text="保存" OnClick="btnSumbit_Click" class="redbtn" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="visitorinfo" class="cont" style="display: none">
                    <table cellpadding="0" cellspacing="0" class="tab" width="100%">
                        <tr>
                            <td class="left">
                                真实姓名:
                            </td>
                            <td>
                                <asp:TextBox ID="txtName" runat="server" Width="175px" MaxLength="10" CssClass="input"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                性别:
                            </td>
                            <td>
                                <asp:RadioButtonList ID="rblSex" runat="server" CellPadding="0" CellSpacing="0" RepeatDirection="Horizontal"
                                    RepeatLayout="Flow">
                                    <asp:ListItem Selected="True" Value="男">男</asp:ListItem>
                                    <asp:ListItem>女</asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                生日：
                            </td>
                            <td>
                                <asp:TextBox ID="txtBirthday" runat="server" Width="175px" MaxLength="15" CssClass="input"
                                    onfocus="WdatePicker({ dateFmt: 'yyyy-MM-dd' })"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                学历:
                            </td>
                            <td>
                                <asp:TextBox ID="txtEducation" runat="server" MaxLength="10" class="input" Style="width: 175px;"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                证件类型:
                            </td>
                            <td>
                                <asp:DropDownList ID="ddlType" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                证件号码:
                            </td>
                            <td>
                                <p class="check">
                                    <asp:TextBox ID="txtNumber" runat="server" MaxLength="50" Style="width: 350px;" class="input"></asp:TextBox>
                                </p>
                            </td>
                            <td width="202">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td class="left">
                                爱好 :
                            </td>
                            <td>
                                <asp:CheckBoxList ID="cbxlLove" runat="server" RepeatColumns="3">
                                </asp:CheckBoxList>
                            </td>
                            <td width="202">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2" class="bottom">
                                <asp:Button ID="btnVisitor" runat="server" Text="保存" OnClick="btnVisitor_Click" class="redbtn" />
                            </td>
                        </tr>
                    </table>
                </div>
                <div id="head" class="cont" style="display: none">
                    <table cellpadding="0" cellspacing="0" class="tab" width="60%">
                        <tr>
                            <td class="left">
                                我的头像:
                            </td>
                            <td>
                                <asp:Image ID="Image1" runat="server" Width="70" Height="60" />
                                <asp:FileUpload ID="FileUpload1" runat="server" Width="190px" BorderWidth="1" BorderStyle="Solid"
                                    BorderColor="#cccccc" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td style="height: 45px;">
                                <asp:Button ID="btnHeadImg" runat="server" Text="保 存" class="redbtn" OnClick="btnHeadImg_Click" />
                            </td>
                        </tr>
                    </table>
                </div>
                <!--我的游记-->
                <div>
                </div>
            </div>
        </div>
        <uc3:WUCUservisitorLeft ID="WUCUservisitorLeft1" runat="server" />
        <div class="managecontbottom">
        </div>
    </div>
    <input id="hiddenTest" type="hidden" value="<%= GetToken() %>" name="hiddenTestN" />
    <uc5:UcenterFooter ID="UcenterFooter1" runat="server" />
    </form>
</body>
</html>
